import { Button, Sticky, Icon,NavBar,Col, Row, Swipe, SwipeItem,Grid, GridItem, Image, Tabbar, TabbarItem,Toast,List, Field, Form,
    Cell, CellGroup,Uploader, Badge,Checkbox, CheckboxGroup,Radio,RadioGroup,Area,Popup,Switch,SwipeCell,Empty,Tab, Tabs,TreeSelect,ConfigProvider,
    CountDown, Search, ShareSheet,Tag,DropdownMenu, DropdownItem,Overlay,Picker,ActionBar, ActionBarIcon, ActionBarButton   } from 'vant';

const useVant = (app: any) => {
    app.use(Button).use(Sticky).use(Icon).use(NavBar).use(Col).use(Row).use(Field).use(CellGroup).use(Form).use(Uploader).use(Badge).use(Radio).use(RadioGroup).use(Switch).use(SwipeCell)
    .use(Swipe).use(SwipeItem).use(Grid).use(GridItem).use(Image).use(Tabbar).use(TabbarItem).use(Toast).use(List).use(Cell).use(Checkbox).use(CheckboxGroup).use(Area).use(Popup).use(Empty)
    .use(Tab).use(Tabs).use(TreeSelect).use(ConfigProvider).use(CountDown).use(Search).use(ShareSheet).use(Tag).use(DropdownMenu).use(DropdownItem).use(Overlay).use(Picker).use(ActionBar).use(ActionBarIcon)
    .use(ActionBarButton);
};

export default useVant;